


#include "VectorDataset.h"

VectorDataset::VectorDataset()
{
}

VectorDataset::VectorDataset(double* x, double* y, int dim)
{
    d_x = x;
    d_y = y;
    d_dim = dim;
}

Vector2f VectorDataset::getData(int idx)
{
    return Vector2f(d_x[idx], d_y[idx]);
}